---
title: 'AppDynamics'
description: 'Configuring the AppDynamics backend (Managed)'
sidebarTitle: 'AppDynamics'
icon: 'signal-stream'
---

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/appdynamics.svg" alt="appdynamics" className="not-prose h-20" />

{/*
    Add custom content here (under this comment)...

    e.g.

    **Creating Account**<br />
    Go to the **[🔗 website](https://odigos.io) > Account** and click **Sign Up**

    **Obtaining Access Token**<br />
    Go to **⚙️ > Access Tokens** and click **Create New**

    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! START CUSTOM EDIT !!
*/}

1. [Register](https://accounts.appdynamics.com/trial)/[Login](https://login.appdynamics.com/sso/authenticate) to AppDynamics.
2. Navigate to the OpenTelemetry Configuration page
3. Click on `Processors`, you'll find 3 attributes, locate `appdynamics.controller.account` and copy it's value, this is your `Account Name`.
4. Click on `Exporters`, copy the `Endpoint`, and generate an `API Key`.

{/*
    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! END CUSTOM EDIT !!
*/}

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
</Accordion>

- **APPDYNAMICS_APPLICATION_NAME** `string` : Application Name. Will define a namespace in AppDynamics
  - This field is optional
- **APPDYNAMICS_ACCOUNT_NAME** `string` : Account Name.
  - This field is required
- **APPDYNAMICS_ENDPOINT_URL** `string` : Endpoint URL.
  - This field is required
- **APPDYNAMICS_API_KEY** `string` : API Key.
  - This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI
    ```bash
    odigos ui
    ```
  </Step>
  <Step>
    Click on `Add Destination`, select `AppDynamics` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `appdynamics.yaml`)
    ```yaml
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: appdynamics-example
      namespace: odigos-system
    spec:
      data:
        APPDYNAMICS_ACCOUNT_NAME: <Account Name>
        APPDYNAMICS_ENDPOINT_URL: <Endpoint URL>
        # Note: The commented fields below are optional.
        # APPDYNAMICS_APPLICATION_NAME: <Application Name>
      destinationName: appdynamics
      secretRef:
        name: appdynamics-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: appdynamics

    ---

    apiVersion: v1
    data:
      APPDYNAMICS_API_KEY: <Base64 API Key>
    kind: Secret
    metadata:
      name: appdynamics-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>
  <Step>
    Apply the YAML using `kubectl`
    ```bash
    kubectl apply -f appdynamics.yaml
    ```
  </Step>
</Steps>